package cn.lanqiao.bigDate.service.data;

import cn.lanqiao.bigDate.entity.data.DataComment;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

public interface DataCommentService {
    /**
     * 分页查询
     * @param page
     * @return
     */
    public IPage<DataComment> findByPage(Page<DataComment> page, String searchDeptName);
    /**
     * 按id查询用户
     * @param id
     * @return
     */
    DataComment findDataCommOne(Long id);

    /**
     * 修改用户
     * @param dataComment
     * @return
     */
    Boolean updateDataComment(DataComment dataComment);

    /**
     * 保存用户
     * @param dataComment
     * @return
     */
    Boolean saveDataComment(DataComment dataComment);

    /**
     * 按id删除用户
     * @param ids 格式  id1,id2,id3
     * @return
     */
    Boolean deleteDataComment(String ids);
}
